﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebEditBackGround.Code.Model.Base
{
    /// <summary>
    /// 返回消息基类
    /// </summary>
    public class ResponseBase<T>
    {
        public Model.Base.ResponseError ErrorInfo = new ResponseError();
        /// <summary>
        /// 是否错误
        /// </summary>
        public bool IsError
        {
            get
            {
                return ErrorInfo.IsError;
            }
            set
            {
                this.ErrorInfo.IsError = value;
            }
        }

        public T ReturnValue { get; set; }

    }
}
